//
//  SISSHouseConditionInfoModel.m
//  SISSAPP
//
//  Created by 袁应荣 on 2017/9/21.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSHouseConditionInfoModel.h"

@implementation SISSHouseConditionInfoModel

// 返回一个 Dict，将 Model 属性名对映射到 JSON 的 Key。
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"ID": @"id"};
}



- (void)setSellerSignaturePath:(NSString *)sellerSignaturePath {
    _sellerSignaturePath = [NSString stringWithFormat:@"%@%@",BASE_IMAGE_URL,sellerSignaturePath];
}

- (void)setSignaturePath:(NSString *)signaturePath {
    _signaturePath = [NSString stringWithFormat:@"%@%@",BASE_IMAGE_URL,signaturePath];
}

- (void)setHouseImage:(NSArray *)houseImage {
    NSMutableArray *tempArr = [NSMutableArray arrayWithCapacity:houseImage.count];
    for (NSInteger i = 0; i < houseImage.count; i++) {
        [tempArr addObject:[NSString stringWithFormat:@"%@%@",BASE_IMAGE_URL,houseImage[i]]];
    }
    _houseImage = tempArr.copy;
}

@end
